function addfInfo(){
	var html = "";
	html +='<tr>';
	html += '<td>姓名:</td>';
	html += '<td><input type="text"  name="name" class="form-control"></td>';
	html += '<td>与之关系:</td>';
	html += '<td><select id="type" name="type" class="form-control"><option value="" label="【请选择】" /><option value="配偶" label="配偶"/><option value="子女" label="子女"/></select></td>';
	html +='<td>工作单位:</td>';
	html +='<td><input type="text"  id="workunit" name="workunit" class="form-control"></td>';
	html +='<td><a href="javascript:void(0)" onclick="removeFamilyInfo()">删除</a></td>'
	html +='</tr>';
	$("#familyInfoAdd").append(html);
}
function removeFamilyInfo(){
	
}
function addreason(){
	var type = $("#economytype").val();
	if(type=='困难'){
		var html = '';
		html += '<td id="difficultTitle">困难原因:</td>';
		html += '<td><input type="text" id="difficult_reasons" name="difficult_reasons" class="form-control"></td>';
		$("#difficultReason").append(html);
	}else {
		$("#difficultTitle").attr("style","display:none;");
		$("#difficult_reasons").attr("style","display:none;");
	}
}
function noworkReason(){
	var type=$("#iswork_yesno").val();
	if(type=='否'){
		$("#reasontitle").attr("style","display:show;");
		$("#noworkReason").attr("style","display:show;");	
	}else{
		$("#reasontitle").attr("style","display:none;");
		$("#noworkReason").attr("style","display:none;");	
	}
}